#chat_dialogs, #all_users
{
    /*width: 205px;*/
    width: 150px;
}

#chat_window
{
    /*width: 782px;*/
    width: 672px;
    height: 400px;
    
    position: relative;
/*
    border-right-style: solid;
    border-left-style: solid;
    border-bottom-style: solid;
    border-top-style: solid;
    border-right-width: 1px;
    border-left-width: 1px;
    border-bottom-width: 1px;
    border-top-width: 1px;
    border-right-color: #000000;
    border-left-color: #000000;
    border-bottom-color: #000000;
    border-top-color: #000000;*/

    padding:15px;
    -moz-border-radius:15px;
    -webkit-border-radius:15px;
    border-radius:15px;
    background-color: lightblue;
}

#chat_dialogs
{
    /*width: 150px;*/
    height: 400px;
    float: left;
    /*
    border-right-style: solid;
    border-left-style: solid;
    border-bottom-style: solid;
    border-top-style: solid;
    border-right-width: 1px;
    border-left-width: 1px;
    border-bottom-width: 1px;
    border-top-width: 1px;
    border-right-color: #000000;
    border-left-color: #000000;
    border-bottom-color: #000000;
    border-top-color: #000000;
    */
    
    margin-right: 8px;
}

.dialog_user
{
    width: 130px;
    
    padding:8px;
    -moz-border-radius:8px;
    -webkit-border-radius:8px;
    border-radius:8px;
    
    margin-bottom: 4px;
    background-color: lightskyblue;
}

#chat_msgs_sendpanel
{
    width: 350px;
    height: 400px;
    float: left;
    /*
    border-right-style: solid;
    border-left-style: solid;
    border-bottom-style: solid;
    border-top-style: solid;
    border-right-width: 1px;
    border-left-width: 1px;
    border-bottom-width: 1px;
    border-top-width: 1px;
    border-right-color: #000000;
    border-left-color: #000000;
    border-bottom-color: #000000;
    border-top-color: #000000;
    */
}

#all_users
{
    /*width: 150px;*/
    height: 400px;
    float: left;
    margin-left: 12px;
    /*
    border-right-style: solid;
    border-left-style: solid;
    border-bottom-style: solid;
    border-top-style: solid;
    border-right-width: 1px;
    border-left-width: 1px;
    border-bottom-width: 1px;
    border-top-width: 1px;
    border-right-color: #000000;
    border-left-color: #000000;
    border-bottom-color: #000000;
    border-top-color: #000000;*/
}

.choose_user
{
    background-color: lightskyblue;
    /*margin-left: 12px;*/
    
    padding:8px;
    -moz-border-radius:8px;
    -webkit-border-radius:8px;
    border-radius:8px;
    position: relative;
    margin-bottom: 4px;
}

.choose_user:hover
{
    cursor: pointer;
    background-color: orange;
}

.active_user
{    
    background-color: limegreen;
    
    padding:8px;
    -moz-border-radius:8px;
    -webkit-border-radius:8px;
    border-radius:8px;
    position: relative;
    margin-bottom: 4px;
}

.active_user:hover
{
    cursor: pointer;
}

#msgs_panel
{
    height: 310px;
    width: 98%;
    /*overflow-y: auto;*/
    
    padding: 5px;
    
    padding-bottom: 0px;
    
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    border-radius:5px;
    background-color: white;
}

.msgs
{
    height: 310px;
    overflow-y: auto;
}

.msg:hover
{
    /*width: 300px;*/
    background-color: lightcyan;
    cursor: pointer;
}

#send_panel
{
    height: auto;
    margin-top: -18px;
}

textarea
{
    /*margin-left: 55px;*/
    width: 98%;
}

#sendMsgBtn{
    float: right;
    width: 100px;
    cursor: pointer;
}

#empty_div
{
    height: 25px;
}

.close
{
    position: absolute;
    top: 2px;
    left:137px;
}

.close:hover
{
    /*background-color: red;*/
    color: red;
    font-weight: bolder;
}

.status_on, .status_off
{
    position: absolute;
    top: 15px;
    left:2px;
}
.status_on
{
    height: 5px;
    width: 5px;
    display: block;
    background-color: orangered;
}

.status_off
{
    display: none;
}

.newmsgs
{
    position: absolute;
    top: 8px;
    left:115px;
}